package com.zmn.oms.business.interfaces.conf.ordertag;

import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.entity.conf.ordertag.ConfOrderTag;
import com.zmn.oms.model.entity.conf.ordertag.ConfOrderTagQuery;
import com.zmn.oms.model.vo.conf.ordertag.ConfOrderTagVO;

import java.util.List;

/**
 * 类描述：订单标签配置
 *
 * @author liuying
 * @date 2021/07/29 18:11
 */
public interface ConfOrderTagBService {

    /**
     * 查询配置
     *
     * @param query
     * @return
     */
    List<ConfOrderTagVO> listPageByQuery(ConfOrderTagQuery query);

    /**
     * 修改
     *
     * @param conf
     */
    void modifyConfById(ConfOrderTag conf) throws OmsBaseException;

    /**
     * 修改状态
     *
     * @param conf
     */
    void modifyConfStatusById(ConfOrderTag conf);

    /**
     * 修改sort
     *
     * @param conf
     */
    void modifyConfSortById(ConfOrderTag conf);

    /**
     * 新增
     *
     * @param conf
     */
    Integer addConf(ConfOrderTag conf) throws OmsBaseException;

}
